<?php
include_once("inc/conn.php");
include_once("inc/function.php");
if(isset($_SESSION['usersid'])) {
	echo ChangeEncodeU2G("<script >alert('你已经登录成功，你可以退出后重新登录!');
	location.href = '/';
	</script>");
	exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
    require 'public/title.inc.php';
?>
<title>登录 - <?php echo $web_name ;?></title>
<link rel="stylesheet" type="text/css" href="style/loginRegister.css"/>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/login.js"></script>
</head>
<body>
<?php 
    require 'top.php';
?>
<div class="container">
    <div class="com">
        <div class="row hidden-xs hidden-sm">
            <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                <dl>
                    <dt>欢迎来到宝时捷28平台,没有账号,[ <a href="reg.php">去免费注册</a> ]</dt>
                    <dd>
                        <div class="input-group input-group-lg">
                            <span class="input-group-addon">账　号:</span>
                            <input type="text" class="form-control" id="username" placeholder="请输入手机号" />
                        </div>
                    </dd>
                    <dd>
                        <div class="input-group input-group-lg">
                            <span class="input-group-addon">密　码:</span>
                            <input type="password" class="form-control" id="pass" placeholder="请输入密码" />
                        </div>
                    </dd>
                    <dd>
                        <div class="input-group input-group-lg">
                            <span class="input-group-addon">验证码:</span>
                            <input type="text" class="form-control" id="vcode" placeholder="验证码" />
                            <span class="input-group-addon"><img src="vcode.php" alt="" onclick="this.src='vcode.php?tm=' + Math.random();"  style="cursor:pointer;" /></span>
                        </div>
                    </dd>
                    <dd>
                        <input type="submit" class="btn btn-danger btn-block btn-lg" id="login" value="登陆" />
                    </dd>   
                    <dd>
                        <a href="forgetpass.php">忘记密码?</a>
                    </dd>
                </dl>
            </div>
            <div class="col-lg-7 col-md-7 col-sm-7 col-xs-7">
                <img src="img/login-pic.jpg" class="img-responsive" style="margin:12px 20px; border-radius:10px;" />
            </div>
        </div>   
</div>
</div>
 <?php 
    require 'footer.php';
 ?>   
</body>
</html>